/*
 * @Author: your name
 * @Date: 2021-12-28 11:20:09
 * @LastEditTime: 2022-01-06 19:58:21
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \operation-management-systems\src\api\privilege-routing\index.js
 */
// 数据权限
import xjaxios from "@/api/axios";
export default {
  getqueryPermissionRoleList(e) {
    return xjaxios.post(`powerManage/functionPermission/queryByCondition`, { functionDetailList: e })
    // return xjaxios.get(`powerManage/roleFunctionPermissionMapper/queryAllFunctionPermission/${sessionStorage.routerpid}`)
  },
  getqueryRoleList(roleId) {
    return xjaxios.post(`powerManage/roleFunctionPermissionMapper/queryByCondition`, { roleId: roleId, organizationNo: sessionStorage.organizationNo })
  },
  addRoleList(fromData) {
    return xjaxios.post(`powerManage/roleFunctionPermissionMapper/add`, fromData)
  }

}
